package com.handle.system.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangqing
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysTenant implements Serializable {


    @TableId
    private Long id;

    /**
     * 租户ID
     */
    private String tenantCode;

    /**
     * 租户名称
     */
    private String tenantName;

    /**
     * 联系人
     */
    private String linkman;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 联系地址
     */
    private String address;

    /**
     * 创建人
     */
    private Long createStaff;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改人
     */
    private Long updateStaff;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 状态 (1:正常 0:停用)
     */
    private Boolean status;

    /**
     * 是否已删除 (0:存在 1:删除)
     */
    private Boolean delFlag;

    /**
     * 备注
     */
    private String remark;


    public static final String ID = "id";

    public static final String TENANT_CODE = "tenant_code";

    public static final String TENANT_NAME = "tenant_name";

    public static final String LINKMAN = "linkman";

    public static final String PHONE = "phone";

    public static final String ADDRESS = "address";

    public static final String CREATE_STAFF = "create_staff";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_STAFF = "update_staff";

    public static final String UPDATE_TIME = "update_time";

    public static final String STATUS = "status";

    public static final String DEL_FLAG = "del_flag";

    public static final String REMARK = "remark";

}
